package com.donfu.system.domain.house;

import java.util.Date;

import com.donfu.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.donfu.common.annotation.Excel;

/**
 * 新居日志对象 house_diary
 * 
 * @author donfu
 * @date 2021-12-01
 */
public class HouseDiary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 封面图片 */
    @Excel(name = "封面图片")
    private String coverImgUrl;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 面积 */
    @Excel(name = "面积")
    private String area;

    /** 城市名称 */
    @Excel(name = "城市名称")
    private String cityName;

    /** 作者 */
    @Excel(name = "作者")
    private String author;


    /** 文章内容 */
    @Excel(name = "文章内容")
    private String content;

    /** 相关产品 JSON形式 */
    @Excel(name = "相关产品 JSON形式")
    private String relatedGoods;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String standby;

    /*用户id（收藏表字段）*/
    private Long userId;
    /*收藏状态（收藏表字段，非空为收藏）*/
    private Integer collStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCoverImgUrl(String coverImgUrl) 
    {
        this.coverImgUrl = coverImgUrl;
    }

    public String getCoverImgUrl() 
    {
        return coverImgUrl;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setCityName(String cityName) 
    {
        this.cityName = cityName;
    }

    public String getCityName() 
    {
        return cityName;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setRelatedGoods(String relatedGoods) 
    {
        this.relatedGoods = relatedGoods;
    }

    public String getRelatedGoods() 
    {
        return relatedGoods;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setStandby(String standby) 
    {
        this.standby = standby;
    }

    public String getStandby() 
    {
        return standby;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getCollStatus() {
        return collStatus;
    }

    public void setCollStatus(Integer collStatus) {
        this.collStatus = collStatus;
    }

    @Override
    public String toString() {
        return "HouseDiary{" +
                "id=" + id +
                ", coverImgUrl='" + coverImgUrl + '\'' +
                ", title='" + title + '\'' +
                ", area='" + area + '\'' +
                ", cityName='" + cityName + '\'' +
                ", author='" + author + '\'' +
                ", content='" + content + '\'' +
                ", relatedGoods='" + relatedGoods + '\'' +
                ", createDate=" + createDate +
                ", updateDate=" + updateDate +
                ", standby='" + standby + '\'' +
                ", userId='" + userId + '\'' +
                ", collStatus='" + collStatus + '\'' +
                '}';
    }
}
